Intelligently managing pattern contents across multiple racks based on workload and human interaction usage patterns

ABSTRACT

A method, system and computer program product for managing pattern contents across multiple racks. The workload usage characteristics of the pattern contents on a primary rack in a domain of racks are collected based on monitoring the workload usage of the pattern contents in the pattern definition and in the deployed pattern. Furthermore, information regarding use of the pattern definition, the deployed pattern and the pattern contents by users (“human interaction usage patterns”) is collected based on monitoring the human interaction usage patterns. The pattern contents are then ranked based on analyzing the collected workload usage characteristics and analyzing the collected information regarding human interaction usage patterns. Once the pattern contents are ranked, those contents that are highly ranked are deemed to be more likely to be utilized in the pattern and therefore are the contents that are copied from the primary rack to the other racks of the domain.

TECHNICAL FIELD

The present invention relates generally to cloud computing, and moreparticularly to intelligently managing pattern contents across multipleracks based on workload and human interaction usage patterns.

BACKGROUND

In a cloud computing environment, computing is delivered as a servicerather than a product, whereby shared resources, software andinformation are provided to computers and other devices as a meteredservice over a network, such as the Internet. In such an environment,computation, software, data access and storage services are provided tousers that do not require knowledge of the physical location andconfiguration of the system that delivers the services. The functions ofthe cloud computing environment are performed by a data center, whichincludes various types of hardware components (e.g., storagecontrollers, network switches, physical compute machines or nodes)stored in racks.

An administrator of the cloud computing environment may build a reusablepattern which defines the topology and application environment used toservice the customer (i.e., the user receiving the services provided bythe cloud computing environment) as well as satisfies the customerrequirements, such as application and processing requirements. Thepattern is an abstract model of the topology and application environmentthat encapsulates the installation, configuration and management ofmiddleware and applications, such as the middleware and applicationsthat run on virtual machines in the physical compute nodes. Such apattern can be deployed repeatedly thereby avoiding the need toprovision these environments individually and manually.

Currently, a pattern may be deployed on multiple racks (commonlyreferred to as a “domain”) to increase support for high availability anddisaster recovery. For example, a pattern consisting of a set of virtualmachines and the software running on these virtual machines is deployedon each rack within a “domain” of racks. In this manner, the workloadhandled by the virtual machines of the pattern on a rack that fails maybe routed to be handled by the virtual machines of the pattern onanother rack of the domain.

The content of the pattern, such as the operating system images,middleware binaries and other artifacts, may be obtained from externalrepositories. While fetching such content from external repositories maybe possible, the performance of the system may be diminished due to thetime it takes to retrieve such content, especially if such content(e.g., operating system image) is stored in very large files (e.g.,multiple gigabytes). Furthermore, a rack may be rendered non-operationalin situations where the external repository failed or the networkconnection to the external repository from the rack was interrupted. Asa result, there has been a preference to store the content needed forpattern deployments on all of the racks of the domain locally.

However, there is not currently a means for determining which content isnecessarily needed for pattern deployment on these racks. Neither isthere currently a means for transferring such content from one of theracks of the domain to the other racks of the domain so that they allcontain the same content in an order based on priority. Since a rack mayfail or the network connection to the rack may be interrupted, it may bewise to transfer those contents that are most important prior to thosethat are less important.

BRIEF SUMMARY

In one embodiment of the present invention, a method for managingpattern contents across multiple racks comprises monitoring workloadusage of contents of a pattern in a pattern definition and in a deployedpattern, where the pattern is a model of a topology and applicationenvironment that encapsulates installation, configuration and managementof middleware and applications and where the pattern definition is thepattern defined by a user. The method further comprises monitoring usageof the pattern definition, the deployed pattern and the contents of thepattern by users. The method additionally comprises collecting theworkload usage characteristics of the contents of the pattern on aprimary rack in a domain of racks based on the monitoring of theworkload usage of the contents of the pattern in the pattern definitionand in the deployed pattern. Furthermore, the method comprisescollecting information regarding use of the pattern definition, thedeployed pattern and the contents of the pattern by the users on theprimary rack in the domain of racks based on the monitoring of the usageof the pattern definition, the deployed pattern and the contents of thepattern by the users. Additionally, the method comprises ranking, by aprocessor, the contents of the pattern by analyzing the collectedworkload usage characteristics of the contents of the pattern on theprimary rack in the domain of racks and analyzing the collectedinformation regarding use of the pattern definition, the deployedpattern and the contents of the pattern by the users. In addition, themethod comprises copying a subset of the contents of the pattern on theprimary rack to one or more other racks in the domain of racks based onthe ranking

Other forms of the embodiment of the method described above are in asystem and in a computer program product.

The foregoing has outlined rather generally the features and technicaladvantages of one or more embodiments of the present invention in orderthat the detailed description of the present invention that follows maybe better understood. Additional features and advantages of the presentinvention will be described hereinafter which may form the subject ofthe claims of the present invention.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

A better understanding of the present invention can be obtained when thefollowing detailed description is considered in conjunction with thefollowing drawings, in which:

FIG. 1 illustrates a network system configured in accordance with anembodiment of the present invention;

FIG. 2 illustrates a cloud computing environment in accordance with anembodiment of the present invention.

FIG. 3 illustrates a schematic of racks of compute nodes of the cloudcomputing node that are managed by an administrative server inaccordance with an embodiment of the present invention;

FIG. 4 illustrates a virtualization environment for the compute node inaccordance with an embodiment of the present invention;

FIG. 5 illustrates a hardware configuration of the administrative serverconfigured in accordance with an embodiment of the present invention;and

FIG. 6 is a flowchart of a method for managing pattern contents acrossmultiple racks based on workload and human interaction usage patterns inaccordance with an embodiment of the present invention.

DETAILED DESCRIPTION

The present invention comprises a method, system and computer programproduct for managing pattern contents across multiple racks. In oneembodiment of the present invention, the workload usage of the patterncontents (e.g., images, scripts) in a pattern definition and in adeployed pattern is monitored. A “pattern definition” refers to thepattern defined by the user (i.e., the user receiving the servicesprovided by the cloud computing environment). The “deployed pattern”refers to the middleware and applications that were actually deployedacross the multiple racks which may be different from the middleware andapplications defined in the pattern definition. Examples of monitoringthe workload usage of the pattern contents include monitoring the extentof utilization of these contents. Furthermore, the use of the patterndefinition, the deployed pattern and the pattern contents by users aremonitored (collectively referred to as monitoring the “human interactionusage patterns”). For example, monitoring the human interaction usagepatterns may involve monitoring actions, such as edits to the patterndefinition and execution of the script packages during the patterndeployment. The workload usage characteristics of the pattern contentson a primary rack in a domain of racks and information regarding thehuman interaction usage patterns on the primary rack in the domain ofracks are collected. Furthermore, the service level agreement applied tothe pattern, the historic usages of the pattern contents and/or thepopularity of the pattern contents are obtained. The pattern contentsare then ranked by analyzing the collected workload usagecharacteristics of the pattern contents on the primary rack, analyzingthe collected information regarding the use of the pattern definition,the deployed pattern and the pattern contents by the users on theprimary rack as well as analyzing the service level agreement applied tothe pattern, historic usages of pattern contents and/or popularity ofpattern contents. For example, contents that are more utilized andpopular would be ranked higher than contents that are less utilized orless popular. Once the pattern contents are ranked, such ranking may beused in many ways, such as by determining the contents that would mostlikely be utilized in the pattern. Those contents that are highly rankedare deemed to be more likely to be utilized in the pattern and thereforeare the contents that are copied from the primary rack to the localrepository of the other rack(s) in the domain and not storing contentsthat are not needed thereby freeing up space. Furthermore, the patterncontents may be transferred or updated in an order based on the rankingthereby transferring or updating those contents that are most importantprior to those that are less important thereby preventing the loss ofsuch contents in case of a rack failure or a network connectioninterruption.

In the following description, numerous specific details are set forth toprovide a thorough understanding of the present invention. However, itwill be apparent to those skilled in the art that the present inventionmay be practiced without such specific details. In other instances,well-known circuits have been shown in block diagram form in order notto obscure the present invention in unnecessary detail. For the mostpart, details considering timing considerations and the like have beenomitted inasmuch as such details are not necessary to obtain a completeunderstanding of the present invention and are within the skills ofpersons of ordinary skill in the relevant art.

It is understood in advance that although this disclosure includes adetailed description on cloud computing, implementation of the teachingsrecited herein are not limited to a cloud computing environment. Rather,the embodiments of the present invention are capable of beingimplemented in conjunction with any type of clustered computingenvironment now known or later developed.

In any event, the following definitions have been derived from the “TheNIST Definition of Cloud Computing” by Peter Mell and Timothy Grance,dated September 2011, which is cited on an Information DisclosureStatement filed herewith, and a copy of which is provided to the U.S.Patent and Trademark Office.

Cloud computing is a model for enabling ubiquitous, convenient,on-demand network access to a shared pool of configurable computingresources (e.g., networks, servers, storage, applications, and services)that can be rapidly provisioned and released with minimal managementeffort or service provider interaction. This cloud model is composed offive essential characteristics, three service models, and fourdeployment models.

Characteristics are as follows:

On-Demand Self-Service: A consumer can unilaterally provision computingcapabilities, such as server time and network storage, as needed,automatically without requiring human interaction with each service'sprovider.

Broad Network Access: Capabilities are available over a network andaccessed through standard mechanisms that promote use by heterogeneousthin or thick client platforms (e.g., mobile phones, tablets, laptopsand workstations).

Resource Pooling: The provider's computing resources are pooled to servemultiple consumers using a multi-tenant model, with different physicaland virtual resources dynamically assigned and reassigned according toconsumer demand. There is a sense of location independence in that theconsumer generally has no control or knowledge over the exact locationof the provided resources but may be able to specify location at ahigher level of abstraction (e.g., country, state or data center).Examples of resources include storage, processing, memory and networkbandwidth.

Rapid Elasticity: Capabilities can be elastically provisioned andreleased, in some cases automatically, to scale rapidly outward andinward commensurate with demand. To the consumer, the capabilitiesavailable for provisioning often appear to be unlimited and can bepurchased in any quantity at any time.

Measured Service: Cloud systems automatically control and optimizeresource use by leveraging a metering capability at some level ofabstraction appropriate to the type of service (e.g., storage,processing, bandwidth and active user accounts). Resource usage can bemonitored, controlled and reported providing transparency for both theprovider and consumer of the utilized service.

Service Models are as follows:

Software as a Service (SaaS): The capability provided to the consumer isto use the provider's applications running on a cloud infrastructure.The applications are accessible from various client devices througheither a thin client interface, such as a web browser (e.g., web-basede-mail) or a program interface. The consumer does not manage or controlthe underlying cloud infrastructure including network, servers,operating systems, storage, or even individual application capabilities,with the possible exception of limited user-specific applicationconfiguration settings.

Platform as a Service (PaaS): The capability provided to the consumer isto deploy onto the cloud infrastructure consumer-created or acquiredapplications created using programming languages, libraries, servicesand tools supported by the provider. The consumer does not manage orcontrol the underlying cloud infrastructure including networks, servers,operating systems or storage, but has control over the deployedapplications and possibly configuration settings for theapplication-hosting environment.

Infrastructure as a Service (IaaS): The capability provided to theconsumer is to provision processing, storage, networks and otherfundamental computing resources where the consumer is able to deploy andrun arbitrary software, which can include operating systems andapplications. The consumer does not manage or control the underlyingcloud infrastructure but has control over operating systems, storage anddeployed applications; and possibly limited control of select networkingcomponents (e.g., host firewalls).

Deployment Models are as follows:

Private Cloud: The cloud infrastructure is provisioned for exclusive useby a single organization comprising multiple consumers (e.g., businessunits). It may be owned, managed and operated by the organization, athird party or some combination of them, and it may exist on or offpremises.

Community Cloud: The cloud infrastructure is provisioned for exclusiveuse by a specific community of consumers from organizations that haveshared concerns (e.g., mission, security requirements, policy andcompliance considerations). It may be owned, managed and operated by oneor more of the organizations in the community, a third party, or somecombination of them, and it may exist on or off premises.

Public Cloud: The cloud infrastructure is provisioned for open use bythe general public. It may be owned, managed and operated by a business,academic or government organization, or some combination of them. Itexists on the premises of the cloud provider.

Hybrid Cloud: The cloud infrastructure is a composition of two or moredistinct cloud infrastructures (private, community or public) thatremain unique entities, but are bound together by standardized orproprietary technology that enables data and application portability(e.g., cloud bursting for load balancing between clouds).

Referring now to the Figures in detail, FIG. 1 illustrates a networksystem 100 configured in accordance with an embodiment of the presentinvention. Network system 100 includes a client device 101 connected toa cloud computing environment 102 via a network 103. Client device 101may be any type of computing device (e.g., portable computing unit,Personal Digital Assistant (PDA), smartphone, laptop computer, mobilephone, navigation device, game console, desktop computer system,workstation, Internet appliance and the like) configured with thecapability of connecting to cloud computing environment 102 via network103.

Network 103 may be, for example, a local area network, a wide areanetwork, a wireless wide area network, a circuit-switched telephonenetwork, a Global System for Mobile Communications (GSM) network,Wireless Application Protocol (WAP) network, a WiFi network, an IEEE802.11 standards network, various combinations thereof, etc. Othernetworks, whose descriptions are omitted here for brevity, may also beused in conjunction with system 100 of FIG. 1 without departing from thescope of the present invention.

Cloud computing environment 102 is used to deliver computing as aservice to client device 101 implementing the model discussed above. Anembodiment of cloud computing environment 102 is discussed below inconnection with FIG. 2.

FIG. 2 illustrates cloud computing environment 102 in accordance with anembodiment of the present invention. As shown, cloud computingenvironment 102 includes one or more cloud computing nodes 201 (alsoreferred to as “clusters”) with which local computing devices used bycloud consumers, such as, for example, Personal Digital Assistant (PDA)or cellular telephone 202, desktop computer 203, laptop computer 204,and/or automobile computer system 205 may communicate. Nodes 201 maycommunicate with one another. They may be grouped (not shown) physicallyor virtually, in one or more networks, such as Private, Community,Public, or Hybrid clouds as described hereinabove, or a combinationthereof. This allows cloud computing environment 102 to offerinfrastructure, platforms and/or software as services for which a cloudconsumer does not need to maintain resources on a local computingdevice. A description of a schematic of exemplary cloud computing nodes201 is provided below in connection with FIG. 3. It is understood thatthe types of computing devices 202, 203, 204, 205 shown in FIG. 2, whichmay represent client device 101 of FIG. 1, are intended to beillustrative and that cloud computing nodes 201 and cloud computingenvironment 102 can communicate with any type of computerized deviceover any type of network and/or network addressable connection (e.g.,using a web browser). Program code located on one of nodes 201 may bestored on a computer recordable storage medium in one of nodes 201 anddownloaded to computing devices 202, 203, 204, 205 over a network foruse in these computing devices. For example, a server computer incomputing node 201 may store program code on a computer readable storagemedium on the server computer. The server computer may download theprogram code to computing device 202, 203, 204, 205 for use on thecomputing device.

Referring now to FIG. 3, FIG. 3 illustrates a schematic of a rack ofcompute nodes (e.g., servers) of a cloud computing node 201 that aremanaged by an administrative server in accordance with an embodiment ofthe present invention.

As shown in FIG. 3, cloud computing node 201 may include racks301A-301N, where N is a positive integer number, of hardware componentsor “compute nodes,” such as servers or other electronic devices. Forexample, rack 301A houses compute nodes 302A-302E and rack 301N housescompute nodes 302F-302J. Racks 301A-301N may collectively orindividually be referred to as a racks 301 or rack 301, respectively.Compute nodes 302A-302J may collectively or individually be referred toas compute nodes 302 or compute node 302, respectively. An illustrativevirtualization environment for compute node 302 is discussed furtherbelow in connection with FIG. 4. FIG. 3 is not to be limited in scope tothe number of racks 301 or compute nodes 302 depicted. For example,cloud computing node 201 may be comprised of any number of racks 301which may house any number of compute nodes 302. Furthermore, while FIG.3 illustrates rack 301 housing compute nodes 302, rack 301 may house anytype of computing component that is used by cloud computing node 201.Furthermore, while the following discusses compute node 302 beingconfined in a designated rack 301, it is noted for clarity that computenodes 302 may be distributed across cloud computing environment 102(FIGS. 1 and 2).

As further shown in FIG. 3, racks 301 are coupled to an administrativeserver 303 configured to provide data center-level functions.Administrative server 303 supports a module, referred to herein as themanagement software 304, that can be used to manage all the computenodes 302 of cloud computing node 201, monitor system utilization,intelligently deploy images of data and optimize the operations of cloudcomputing environment 102. Management software 304 may further beconfigured to manage the pattern contents across multiple racks based onworkload and human interaction usage patterns as discussed further belowin connection with

FIG. 6. A description of the hardware configuration of administrativeserver 303 is provided further below in connection with FIG. 5.

Furthermore, as shown in FIG. 3, administrative server 303 is connectedto a database 305 configured to store the service level agreementsapplied to the pattern, the historic usages of the pattern contentsand/or the popularity of the pattern contents. Such information, such asthe service level agreements, may be obtained from the user that isreceiving the services provided by cloud computing environment 102.Other information, such as the historic usages of the pattern contentsand/or the popularity of the pattern contents may be obtained from pastmonitoring of the pattern contents as well as from user reviews of thepattern contents.

As discussed in further detail below, a compute node 302 may function asa local repository for storing the contents of a pattern for a rack 301in a “domain” of racks. A “pattern,” as used herein, refers to anabstract model of the topology and application environment thatencapsulates the installation, configuration and management ofmiddleware and applications, such as the middleware and applicationsthat run on virtual machines in physical compute nodes 302. The contentsof a pattern may include images, files, middleware binaries, scripts,plug-ins (contain the components, policies and links of the virtualapplication pattern, where a virtual application pattern is a completeset of platform resources that fulfill a business need, including webapplications, databases, user registries, messaging services andtransaction processes) and pattern types (collection of plug-ins). Inone embodiment, the same pattern may be deployed on multiple racks 301(e.g. racks 301A, 301N), where such racks 301 are said to be in a“domain” of racks 301.

Referring now to FIG. 4, FIG. 4 illustrates a virtualization environmentfor compute node 302 (FIG. 3) in accordance with an embodiment of thepresent invention. Compute node 302 includes a virtual operating system401. Operating system 401 executes on a real or physical computer 402.Real computer 402 includes one or more processors 403, a memory 404(also referred to herein as the host physical memory), one or more diskdrives 405 and the like. Other components of real computer 402 are notdiscussed herein for the sake of brevity.

Virtual operating system 401 further includes user portions 406A-406B(identified as “Guest 1” and “Guest 2,” respectively, in FIG. 4),referred to herein as “guests.” Each guest 406A, 406B is capable offunctioning as a separate system. That is, each guest 406A-406B can beindependently reset, host a guest operating system 407A-407B,respectively, (identified as “Guest 1 O/S” and “Guest 2 O/S,”respectively, in FIG. 4) and operate with different programs. Anoperating system or application program running in guest 406A, 406Bappears to have access to a full and complete system, but in reality,only a portion of it is available. Guests 406A-406B may collectively orindividually be referred to as guests 406 or guest 406, respectively.Guest operating systems 407A-407B may collectively or individually bereferred to as guest operating systems 407 or guest operating system407, respectively.

Each guest operating system 407A, 407B may host one or more virtualmachine applications 408A-408C (identified as “VM 1,” “VM 2” and “VM 3,”respectively, in FIG. 4), such as Java™ virtual machines. For example,guest operating system 407A hosts virtual machine applications408A-408B. Guest operating system 407B hosts virtual machine application408C. Virtual machines 408A-408C may collectively or individually bereferred to as virtual machines 408 or virtual machine 408,respectively.

Virtual operating system 401 further includes a common base portion 409,referred to herein as a hypervisor. Hypervisor 409 may be implemented inmicrocode running on processor 403 or it may be implemented in softwareas part of virtual operating system 401. Hypervisor 409 is configured tomanage and enable guests 406 to run on a single host.

As discussed above, virtual operating system 401 and its componentsexecute on physical or real computer 402. These software components maybe loaded into memory 404 for execution by processor 403.

The virtualization environment for compute node 302 is not to be limitedin scope to the elements depicted in FIG. 4. The virtualizationenvironment for compute node 302 may include other components that werenot discussed herein for the sake of brevity.

Referring now to FIG. 5, FIG. 5 illustrates a hardware configuration ofadministrative server 303 (FIG. 3) which is representative of a hardwareenvironment for practicing the present invention. Administrative server303 has a processor 501 coupled to various other components by systembus 502. An operating system 503 runs on processor 501 and providescontrol and coordinates the functions of the various components of FIG.5. An application 504 in accordance with the principles of the presentinvention runs in conjunction with operating system 503 and providescalls to operating system 503 where the calls implement the variousfunctions or services to be performed by application 504. Application504 may include, for example, a program (e.g., management software 304of FIG. 3) for managing the pattern contents across multiple racks 301(FIG. 3) based on workload and human interaction usage patterns asdiscussed further below in association with FIG. 6.

Referring again to FIG. 5, read-only memory (“ROM”) 505 is coupled tosystem bus 502 and includes a basic input/output system (“BIOS”) thatcontrols certain basic functions of administrative server 303. Randomaccess memory (“RAM”) 506 and disk adapter 507 are also coupled tosystem bus 502. It should be noted that software components includingoperating system 503 and application 504 may be loaded into RAM 506,which may be administrative server's 303 main memory for execution. Diskadapter 507 may be an integrated drive electronics (“IDE”) adapter thatcommunicates with a disk unit 508, e.g., disk drive. It is noted thatthe program for managing the pattern contents across multiple racks 301based on workload and human interaction usage patterns, as discussedfurther below in association with FIG. 6, may reside in disk unit 508 orin application 504.

Administrative server 303 may further include a communications adapter509 coupled to bus 502. Communications adapter 509 interconnects bus 502with an outside network (e.g., network 103 of FIG. 1).

The present invention may be a system, a method, and/or a computerprogram product. The computer program product may include a computerreadable storage medium (or media) having computer readable programinstructions thereon for causing a processor to carry out aspects of thepresent invention.

The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice. The computer readable storage medium may be, for example, but isnot limited to, an electronic storage device, a magnetic storage device,an optical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present invention may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, firmware instructions,state-setting data, or either source code or object code written in anycombination of one or more programming languages, including an objectoriented programming language such as Smalltalk, C++or the like, andconventional procedural programming languages, such as the “C”programming language or similar programming languages. The computerreadable program instructions may execute entirely on the user'scomputer, partly on the user's computer, as a stand-alone softwarepackage, partly on the user's computer and partly on a remote computeror entirely on the remote computer or server. In the latter scenario,the remote computer may be connected to the user's computer through anytype of network, including a local area network (LAN) or a wide areanetwork (WAN), or the connection may be made to an external computer(for example, through the Internet using an Internet Service Provider).In some embodiments, electronic circuitry including, for example,programmable logic circuitry, field-programmable gate arrays (FPGA), orprogrammable logic arrays (PLA) may execute the computer readableprogram instructions by utilizing state information of the computerreadable program instructions to personalize the electronic circuitry,in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer readable program instructions.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operational steps to be performed on the computer,other programmable apparatus or other device to produce a computerimplemented process, such that the instructions which execute on thecomputer, other programmable apparatus, or other device implement thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof instructions, which comprises one or more executable instructions forimplementing the specified logical function(s). In some alternativeimplementations, the functions noted in the block may occur out of theorder noted in the figures. For example, two blocks shown in successionmay, in fact, be executed substantially concurrently, or the blocks maysometimes be executed in the reverse order, depending upon thefunctionality involved. It will also be noted that each block of theblock diagrams and/or flowchart illustration, and combinations of blocksin the block diagrams and/or flowchart illustration, can be implementedby special purpose hardware-based systems that perform the specifiedfunctions or acts or carry out combinations of special purpose hardwareand computer instructions.

As stated in the Background section, currently, a pattern may bedeployed on multiple racks (commonly referred to as a “domain”) toincrease support for high availability and disaster recovery. Forexample, a pattern consisting of a set of virtual machines and thesoftware running on these virtual machines is deployed on each rackwithin a “domain” of racks. In this manner, the workload handled by thevirtual machines of the pattern on a rack that fails may be routed to behandled by the virtual machines of the pattern on another rack of thedomain. The content of the pattern, such as the operating system images,middleware binaries and other artifacts, may be obtained from externalrepositories. While fetching such content from external repositories maybe possible, the performance of the system may be diminished due to thetime it takes to retrieve such content, especially if such content(e.g., operating system image) is stored in very large files (e.g.,multiple gigabytes). Furthermore, a rack may be rendered non-operationalin situations where the external repository failed or the networkconnection to the external repository from the rack was interrupted. Asa result, there has been a preference to store the content needed forpattern deployments on all of the racks of the domain locally. However,there is not currently a means for determining which content isnecessarily needed for pattern deployment on these racks. Neither isthere currently a means for transferring such content from one of theracks of the domain to the other racks of the domain so that they allcontain the same content in an order based on priority. Since a rack mayfail or the network connection to the rack may be interrupted, it may bewise to transfer those contents that are most important prior to thosethat are less important.

The principles of the present invention provide a means for managingpattern contents across multiple racks, such as by transferring a subsetof the contents of a pattern from one of the racks of the domain to theother racks of the domain that are needed to deploy the pattern in anorder based on a priority established by analyzing the workload andhuman interaction usage patterns as discussed below in connection withFIG. 6.

FIG. 6 is a flowchart of a method 600 for managing pattern contentsacross multiple racks 301 (FIG. 3) based on workload and humaninteraction usage patterns in accordance with an embodiment of thepresent invention.

Referring to FIG. 6, in conjunction with FIGS. 1-5, in step 601,administrative server 303 monitors the workload usage of the patterncontents in a pattern definition and in a deployed pattern. As discussedabove, the contents of a pattern may include images, files, middlewarebinaries, scripts, plug-ins (contain the components, policies and linksof the virtual application pattern, where a virtual application patternis a complete set of platform resources that fulfill a business need,including web applications, databases, user registries, messagingservices and transaction processes) and pattern types (collection ofplug-ins). A “pattern definition” refers to the pattern defined by theuser (i.e., the user receiving the services provided by the cloudcomputing environment). The “deployed pattern” refers to the middlewareand applications that were actually deployed across multiple racks 301which may be different from the middleware and applications defined inthe pattern definition. For example, some of the images that are part ofthe pattern definition may be not be deployed on a virtual machine 408in rack 301.

Examples of monitoring the workload usage of the pattern contents in apattern definition and in a deployed pattern include monitoring theusage of images, files, middleware binaries, scripts, plug-ins andpattern types that were defined in the pattern definition and those thatwere actually deployed in the pattern. For instance, by monitoring theworkload usage of the pattern contents in the pattern definition and inthe deployed pattern, the contents that were not used in the patterndefinition may be identified thereby indicating that such contents arenot needed and designated as low priority (i.e., ranked low priority).Monitoring the workload usage of the pattern contents in the patterndefinition and in the deployed pattern may include monitoring forerrors, such as errors that occurred during the deployment, as well asfor monitoring for updates, such as updates to images, etc. When errorsoccur, those contents that are associated with such errors may bedesignated as low priority. Furthermore, when an update occurs, thosecontents that are associated with such updates, may be designated as ahigh priority as it is necessary to ensure that racks 301 contain thelatest versions of the pattern contents. Additionally, monitoring theworkload usage of the pattern contents includes monitoring the extent ofutilization of these contents. For instance, some of the contents mayhardly be utilized; whereas, other contents may be utilized extensively.Those contents that are utilized more extensively are designated with ahigher priority and those contents that are hardly utilized aredesignated with a low priority.

In step 602, administrative server 303 monitors use of the patterndefinition, the deployed pattern and the pattern contents by users(collectively referred to as monitoring the “human interaction usagepatterns”). For example, monitoring the human interaction usage patternsmay involve monitoring actions, such as edits to the pattern definition,execution of the script packages during the pattern deployment, thelength of time the deployed pattern has been running and meeting theuser's requirements in servicing the workload, how traffic is routed anddelegated to the deployments, editing of the contents by the users, etc.Furthermore, log entries that detail such activities may be monitoredand examined.

In step 603, administrative server 303 collects the workload usagecharacteristics of the pattern contents, as discussed above, on aprimary rack 301 in a domain of racks (e.g., racks 301A, 301N) based onmonitoring the workload usage of the pattern contents in the patterndefinition and in the deployed pattern. A user designates a rack 301 ina domain of racks (e.g., racks 301A, 301N) to collect the workload usagecharacteristics of the pattern. Such a rack 301 is deemed to be the“primary rack.” Any rack 301 in the domain of racks may be designated asa primary rack and is not to be interpreted as being a “master” rack.All racks 301 that are part of the domain are peers and share theircontent as needed for pattern deployment.

In step 604, administrative server 303 collects information regardinghuman interaction usage patterns on a primary rack 301 in the domain ofracks (e.g., racks 301A, 301N) based on monitoring the human interactionusage patterns as discussed above.

In step 605, administrative server 303 obtains the service levelagreement applied to the pattern, the historic usages of the patterncontents and/or the popularity of the pattern contents. In oneembodiment, such information may be stored in database 305.

In step 606, administrative server 303 ranks the pattern contents byanalyzing the collected workload usage characteristics of the patterncontents, analyzing the collected information regarding the use of thepattern definition, the deployed pattern and the pattern contents by theusers as well as analyzing the service level agreement applied to thepattern, historic usages of pattern contents and/or popularity ofpattern contents. For example, contents that are more utilized andpopular would be ranked higher than contents that are less utilized orless popular. In another example, service level agreements may beutilized to prioritize pattern contents by analyzing the service levelagreement. For instance, the service level agreement may have a requireddeploy time that would make it necessary to load larger sized contentsfirst even though they may be less likely to be used and load thesmaller sized contents at deploy time in order to guarantee the requireddeploy time specified in the service level agreement. It is noted thatthe ranking discussed herein is not a static ranking, but instead, isadjustable based on the workload and human interaction usage patterns.

Once the pattern contents are ranked, such ranking may be used in manyways, such as by determining the contents that would most likely beutilized in the pattern. Those contents that are highly ranked aredeemed to be more likely to be utilized in the pattern and therefore arethe contents that are copied from the primary rack 301 to the otherracks 301 of the domain. For instance, in step 607, administrativeserver 303 determines the contents that would most likely be utilized inthe pattern based on the ranking, while taking into considerationfactors, such as service level agreement agreements, thereby allowingadministrative server 303 to copy and store the pattern contents thatare truly needed in the local repository of the other rack(s) 301 in thedomain and not storing contents that are not needed thereby freeing upspace. That is, in step 607, administrative server 303 copies a subsetof the pattern contents on the primary rack 301 to another rack(s) 301in the domain based on the ranking

Furthermore, in the case of backing up content on a primary rack 301,such ranking may be used by administrative server 303 in step 608 todetermine the order of the pattern contents to be restored from theprimary rack 301 to the other rack(s) 301 of the domain therebytransferring those contents that are most important prior to those thatare less important preventing the loss of such contents in case of arack failure or a network connection interruption. That is, in step 608,administrative server 303 copies pattern content(s) from the primaryrack 301 to be restored in another rack(s) in the domain of racks (e.g.,racks 301A, 301N) in an order based on the ranking

Additionally, such ranking may be used by administrative server 303 instep 609 to determine the order of the pattern contents to be updated ina batch mode operation across all the racks 301 of the domain therebyupdating those contents that are most important prior to those that areless important thereby preventing the loss of such updated contents incase of a rack failure or a network connection interruption. That is, instep 609, administrative server 303 copies pattern content(s) from theprimary rack 301 to be updated in a batch mode operation across theracks 301 in the domain of racks (e.g., racks 301A, 301N) in an orderbased on the ranking.

The descriptions of the various embodiments of the present inventionhave been presented for purposes of illustration, but are not intendedto be exhaustive or limited to the embodiments disclosed. Manymodifications and variations will be apparent to those of ordinary skillin the art without departing from the scope and spirit of the describedembodiments. The terminology used herein was chosen to best explain theprinciples of the embodiments, the practical application or technicalimprovement over technologies found in the marketplace, or to enableothers of ordinary skill in the art to understand the embodimentsdisclosed herein.

1-5. (canceled)
 6. A computer program product for managing patterncontents across multiple racks, the computer program product comprisinga computer readable storage medium having program code embodiedtherewith, the program code comprising the programming instructions for:monitoring workload usage of contents of a pattern in a patterndefinition and in a deployed pattern, wherein said pattern is a model ofa topology and application environment that encapsulates installation,configuration and management of middleware and applications, whereinsaid pattern definition is said pattern defined by a user; monitoringusage of said pattern definition, said deployed pattern and saidcontents of said pattern by users; collecting said workload usagecharacteristics of said contents of said pattern on a primary rack in adomain of racks based on said monitoring of said workload usage of saidcontents of said pattern in said pattern definition and in said deployedpattern; collecting information regarding use of said patterndefinition, said deployed pattern and said contents of said pattern bysaid users on said primary rack in said domain of racks based on saidmonitoring of said usage of said pattern definition, said deployedpattern and said contents of said pattern by said users; ranking saidcontents of said pattern by analyzing said collected workload usagecharacteristics of said contents of said pattern on said primary rack insaid domain of racks and analyzing said collected information regardinguse of said pattern definition, said deployed pattern and said contentsof said pattern by said users; and copying a subset of said contents ofsaid pattern on said primary rack to one or more other racks in saiddomain of racks based on said ranking.
 7. The computer program productas recited in claim 6, wherein the program code further comprises theprogramming instructions for: copying one or more contents of saidpattern from said primary rack to be restored in one or more other racksin said domain of racks in an order based on said ranking.
 8. Thecomputer program product as recited in claim 6, wherein the program codefurther comprises the programming instructions for: copying one or morecontents of said pattern from said primary rack to be updated in a batchmode operation across said racks in said domain of racks in an orderbased on said ranking.
 9. The computer program product as recited inclaim 6, wherein the program code further comprises the programminginstructions for: obtaining one or more of a service level agreementapplied to said pattern, historic usages of said contents of saidpattern and popularity of said contents of said pattern; and rankingsaid contents of said pattern by analyzing said collected workload usagecharacteristics of said contents of said pattern on a primary rack in adomain of racks, analyzing said collected information regarding use ofsaid pattern definition, said deployed pattern and said contents of saidpattern by said users and analyzing one or more of said service levelagreement applied to said pattern, said historic usages of said contentsof said pattern and said popularity of said contents of said pattern.10. The computer program product as recited in claim 6, wherein saidcontents of said pattern comprise one or more of the following: images,files, middleware binaries, scripts, plug-ins and pattern types.
 11. Asystem, comprising: a memory unit for storing a computer program formanaging pattern contents across multiple racks; and a processor coupledto the memory unit, wherein the processor is configured to execute theprogram instructions of the computer program comprising: monitoringworkload usage of contents of a pattern in a pattern definition and in adeployed pattern, wherein said pattern is a model of a topology andapplication environment that encapsulates installation, configurationand management of middleware and applications, wherein said patterndefinition is said pattern defined by a user; monitoring usage of saidpattern definition, said deployed pattern and said contents of saidpattern by users; collecting said workload usage characteristics of saidcontents of said pattern on a primary rack in a domain of racks based onsaid monitoring of said workload usage of said contents of said patternin said pattern definition and in said deployed pattern; collectinginformation regarding use of said pattern definition, said deployedpattern and said contents of said pattern by said users on said primaryrack in said domain of racks based on said monitoring of said usage ofsaid pattern definition, said deployed pattern and said contents of saidpattern by said users; ranking said contents of said pattern byanalyzing said collected workload usage characteristics of said contentsof said pattern on said primary rack in said domain of racks andanalyzing said collected information regarding use of said patterndefinition, said deployed pattern and said contents of said pattern bysaid users; and copying a subset of said contents of said pattern onsaid primary rack to one or more other racks in said domain of racksbased on said ranking.
 12. The system as recited in claim 11, whereinthe program instructions of the computer program further comprises:copying one or more contents of said pattern from said primary rack tobe restored in one or more other racks in said domain of racks in anorder based on said ranking.
 13. The system as recited in claim 11,wherein the program instructions of the computer program furthercomprises: copying one or more contents of said pattern from saidprimary rack to be updated in a batch mode operation across said racksin said domain of racks in an order based on said ranking.
 14. Thesystem as recited in claim 11, wherein the program instructions of thecomputer program further comprises: obtaining one or more of a servicelevel agreement applied to said pattern, historic usages of saidcontents of said pattern and popularity of said contents of saidpattern; and ranking said contents of said pattern by analyzing saidcollected workload usage characteristics of said contents of saidpattern on a primary rack in a domain of racks, analyzing said collectedinformation regarding use of said pattern definition, said deployedpattern and said contents of said pattern by said users and analyzingone or more of said service level agreement applied to said pattern,said historic usages of said contents of said pattern and saidpopularity of said contents of said pattern.
 15. The system as recitedin claim 11, wherein said contents of said pattern comprise one or moreof the following: images, files, middleware binaries, scripts, plug-insand pattern types.